package RemoteServerInterface;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

import Po.Manager;
import Po.Message;

public interface AdminServerInterface extends Remote{
	public ArrayList<Manager> getSaleManager() throws RemoteException;
	public ArrayList<Manager> getGeneralManager() throws RemoteException;
	
	public Message addSaleManager(Manager manager) throws RemoteException;
	public Message addGeneralManager(Manager manager) throws RemoteException;
	
	public Message modifySaleManager(Manager manager) throws RemoteException;
	public Message modifyGeneralManager(Manager manager) throws RemoteException;
	
	public Message deleteSaleManager(Manager manager) throws RemoteException;
	public Message deleteGeneralManager(Manager manager) throws RemoteException;
	
	public Message adminLogin(String name,String password) throws RemoteException;
}
